<template>
	<div>
		<div class="curr-app" :style="'left: '+ myleft + 'px'">当前实例: {{ currAppName }}</div>
	</div>
</template>

<script>
export default {
	props: ['left'],
	data() {
		return {
			currAppName: '',
			myleft: 360
		};
	},
	created: function() {
		/*获取当前语言*/
		let currAppName = this.$localstorage.get('currAppName');
		this.currAppName = currAppName?currAppName:''
		if(this.left != '' && this.left != undefined){
			this.myleft = this.left
		}
	},
	methods: {

	}
};
</script>

<style lang="stylus" scoped>
.curr-app{
	width: 360px
	position: fixed
	z-index: 999
	top: 15px
	// left: 360px
	color: #999
}
</style>